package com.vcc.data.entity;


import com.mybatisflex.annotation.Column;
import com.mybatisflex.annotation.Table;
import com.vcc.data.base.entity.BaseEntity;
import lombok.*;

import java.io.Serializable;
import java.math.BigDecimal;

@EqualsAndHashCode(callSuper = true)
@Data
@Setter
@Getter
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Table(value = "vcc_share_account_config", comment = "共享账户配置表")
public class ShareAccountConfig extends BaseEntity implements Serializable {

    @Column(comment = "共享账户ID", value = "share_account_id")
    private Long shareAccountId;

    @Column(comment = "用户ID", value = "user_id")
    private Long userId;

    @Column(comment = "卡类型ID", value = "card_type_id")
    private Long cardTypeId;

    @Column(comment = "状态 0-禁用 1-启用", value = "status")
    private Integer status;

    @Column(comment = "是支持支持开卡 0-支持 1-不支持", value = "verify_open_card_status")
    private Integer verifyOpenCardStatus;
    @Column(comment = "是支持支持修改限额 0-支持 1-不支持", value = "verify_update_limit_status")
    private Integer verifyUpdateLimitStatus;
    @Column(comment = "是支持支持销卡 0-支持 1-不支持", value = "verify_close_card_status")
    private Integer verifyCloseCardStatus;
    @Column(comment = "是支持支持冻结解冻 0-支持 1-不支持", value = "verify_freeze_un_freeze_card_status")
    private Integer verifyFreezeUnFreezeCardStatus;

    @Column(comment = "金额", value = "amount")
    private BigDecimal amount;

    @Column(comment = "授权手续费基数", value = "auth_fee")
    private BigDecimal authFee;

    @Column(comment = "授权手续费比例", value = "auth_fee_rate")
    private BigDecimal authFeeRate;

    @Column(comment = "小金额授权手续费", value = "min_auth_fee")
    private BigDecimal minAuthFee;

    @Column(comment = "小金额授权手续费比例", value = "min_auth_fee_rate")
    private BigDecimal minAuthFeeRate;

    @Column(comment = "失败手续费", value = "fail_fee")
    private BigDecimal failFee;

    @Column(comment = "失败手续费比例", value = "fail_fee_rate")
    private BigDecimal failFeeRate;

    @Column(comment = "退款手续费", value = "refund_fee")
    private BigDecimal refundFee;

    @Column(comment = "退款手续费比例", value = "refund_fee_rate")
    private BigDecimal refundFeeRate;

    @Column(comment = "撤销手续费", value = "reversal_fee")
    private BigDecimal reversalFee;

    @Column(comment = "撤销手续费比例", value = "reversal_fee_rate")
    private BigDecimal reversalFeeRate;

    @Column(comment = "跨境手续费", value = "cross_border_fee")
    private BigDecimal crossBorderFee;

    @Column(comment = "跨境手续费比例", value = "cross_border_fee_rate")
    private BigDecimal crossBorderFeeRate;

}
